import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SysDicComponent } from './dic/dic.component';
import { SysTypeComponent } from './type/type.component';
import { SysLogComponent } from './log/log.component';
import { SysDemoComponent } from './demo/demo.component';
import { SysUserComponent } from './user/user.component';
import { SysRoleComponent } from './role/role.component';
import { SysPermissionComponent } from './permission/permission.component';

const routes: Routes = [
  { path: 'dic', component: SysDicComponent },
  { path: 'type', component: SysTypeComponent },
  { path: 'log', component: SysLogComponent },
  { path: 'demo', component: SysDemoComponent },
  { path: 'user', component: SysUserComponent },
  { path: 'role', component: SysRoleComponent },
  { path: 'permission', component: SysPermissionComponent }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SysRoutingModule { }
